<%@ page import="pojo.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>查看日志</title>
    <link type="text/css" rel="stylesheet" href="../skin/css/table.css" />
    <script type="text/javascript" src="../skin/js/del.js"></script>

</head>

<body>
<jsp:include page="../functionModule.jsp"/>
<!--right-->
<div class="right_layout">
    <img src="../skin/images/left_hidden1_03.png" class="hidden_img"/>
    <div class="right_content">
        <div class="hr-5"></div>
        <div >
            <div class="right_back fyh"><a href="javascript:history.go(-1)">返回</a></div>

        </div>
        <div style="padding-top: 30px; font-size: 16px;">
            <span style="padding-left: 30px"><strong>这篇日志</strong></span> <hr style="border: solid;height:2px;border-width:0;color:gray;background-color:gray" />
        </div>
        <div style="padding-top: 20px ;text-align: center">
            <input type="text" name="title" value="${log.title}" style="height: 30px;width: 600px;text-align: center;font-size: large;border-color: #0c69af"/>
        </div>
        <div style="padding-top: 10px;padding-left: 800px;">
            <span style="font-size: 14px;">分类：${log.logFamily}</span>
        </div>
        <div style="padding-top: 10px;padding-left: 800px;font-size: 14px;">
            日期：${log.date}
        </div>
        <div style="padding-top: 10px;padding-left: 140px;font-size: 15px">
            <textarea rows="14" name="context" readonly="readonly"  cols="100" style="border-color: #4394CA;">${log.context}</textarea>
        </div>
        <div style="padding-left: 800px;">
            <span style="font-size: 15px;">${log.department}&nbsp;&nbsp;${log.realName}</span>
        </div>
        <c:if test="${userInfo.roleId==3}">
        <div style="padding-left:780px;padding-top: 10px;">
            <label class="table_lab fyh"></label>
            <a href="${pageContext.request.contextPath}/log?method=deleteLog&id=${log.id}" onclick="javaScripte:return del()"><input type="submit" value="" class="table_bt"/><input type="submit" class="table_bt fyh" value="删&nbsp;&nbsp;除"/><input type="submit" value="" class="table_bt"/></a>
        </div>
        </c:if>
    </div>
    <div class="floor fyh">软件开发：&nbsp;赣州科睿特软件技术有限公司(技术支持)&nbsp;&nbsp;&nbsp;&nbsp;客服电话：&nbsp;0797-8356742</div>
</div>
</body>
</html>


